class Hero < ActiveRecord::Base
  validates_presence_of :name
  belongs_to :player
  has_many :armies

  def to_s
    name
  end
end
